.tabs
  %ul
    - tabs.each do |tab|
      %li
        = link_to(tab[:url], class: tab[:active] ? "active" : nil) do
          %i.fa{class: tab[:icon]}
          = t(tab[:text])

= show_flash
%table{ width: "100%", height: "100%", cellpadding: 0, cellspacing: 0, class: :tabbed }
  %tr
    %td{ class: :sidebar, id: :sidebar, valign: :top }
      = render "layouts/sidebar"
    %td{ class: :main, id: :main, valign: :top }
      = yield
